./monitorc > system.log & echo $! > pid